home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000091_fdc@columbia.edu_Wed Jan 28 11:54:35 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Help with a script
Date: 28 Jan 2004 16:50:41 GMT
Organization: Columbia University
Lines: 56
Message-ID: <slrnc1fq31.c5n.fdc@sesame.cc.columbia.edu>
References: <6b84683a.0401271212.4059fe85@posting.google.com> <deb126db.0401272157.32647b1b@posting.google.com> <6b84683a.0401280726.24b3edfb@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1075308641 13695 128.59.59.56 (28 Jan 2004 16:50:41 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 28 Jan 2004 16:50:41 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14791
In article <6b84683a.0401280726.24b3edfb@posting.google.com>, EBH wrote:
: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) wrote
: in message news:<deb126db.0401272157.32647b1b@posting.google.com>...
: ...
:> You might also be able to use Kermit's autodownload/autoupload
:> features to bypass the user's need to escape to command mode. In this
:> case, if the remote host attemps to "send" or "get" a file to/from the
:> local Kermit, the local Kermit will switch from connect mode to server
:> mode automatically to receive/send the file(s).
:>
: After posting posting the I actually found this feature and I tried it
: but it only worked when the remote tried to "send" a file. When it
: tried to "get" a file it didn't and I suspect it has something to do
: with the file name.
:
It should work with GET too, if the name or wildcard given matches one or
more files in the user's current directory, and/or includes a proper
pathname identifying the file.
: The remote is giving the received file some name
: over which I have no control (and I don't know the algorithm either so
: that I can name my file the same), and without me actually escaping
: back and explicitily sending my file it just won't work.
:
Then I take the remote is not a real Kermit program? And it is not
really doing an active GET but a passive RECEIVE?
: So I guess the real question when I use the autodownload/autoupload
: feature how can I preset the file names fir the upload and/or download
:
Anything can be done, but this question is a bit to vague to answer
precisely. I'd need to know more about what's on the far end, and what
exactly is it doing? If it's doing a GET, this should work. If it's
renaming the file the file it receives, there's nothing you can do about
that in your script. If it's asking for a file you don't have, maybe
there might be a way to "edit" the name before searching for the file;
I'd have to think about it.
If it's doing a passive RECEIVE rather than a GET, then I would assume
it prints some kind of message first, telling the user what to do.
In that case you can use CONNECT /TRIGGER:<text> to have Kermit watch
for that string during the CONNECT session; when the string appears,
control automatically reverts to the your script.
:> connect
:> if not open connection exit ; or end as appropriate
:
: This didn't work as described, but I think this is more an issue with
: the remote, I will need to follow-up with them.
:
The more information you give us, the more we can help. Like, what kind
of connection is it? Kermit can and will detect broken connections under
most circumstances. There are exceptions, but instead of listing them,
just tell us what kind of connection you have and we can comment.
- Frank